-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix E2E tests #692
Fix E2E tests #692
Conversation
Thanks for looking into this! I pulled this branch, but I'm still getting it stuck on the same part:
I run the backend spring app locally and the db in docker -- is this important? |
Running the Spring app locally and db in docker is fine, are you also running the frontend with |
yup, i'm using I'm not at all familiar with selenium at all; any tips on how to debug this locally? |
One thing I forgot to mention (my bad), you'll probably need to do |
Kudos, SonarCloud Quality Gate passed! |
Still no change when i do Cursory glance at docker logs don't indicate a problem with selenium afaict, but nightwatch still cycles nightwatch
firefox
selenium hub
|
Hmmm... to debug, try changing line 9 in |
that revealed an issue:
|
I keep forgetting this, but apparently the host network mode does not work well on Macs: |
Thanks Nick for debugging; please don't treat this as a high priority issue -- the e2e works as part of the github actions CI, which is more important. |
Okay, sounds good - should we merge this PR then, and keep the issue open so I can update there if I find any solution for running locally on mac? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Related Issue or Background Info
Fixes #681
Changes Proposed
Additional Information
@sharmaneil let me know if this fixes the tests for you locally. Make sure you are running the app (both backend and frontend) before running
yarn e2e
ornpm run e2e
from thefrontend/
dir